#!/usr/bin/env bash

profile=$1
if [ "X$profile" == "X" ]
then
    profile=test1
fi

sh stop.sh
command="nohup java -jar -Dspring.profiles.active=$profile spring-cloud-eureka-1.0-SNAPSHOT.jar >eureka.log &"
echo command=$command
eval $command
exit 0
